local ClientOHOH =_G.ClientOHOH
local M = {}
local shopPanel = nil
local CallBackManager = ClientOHOH.load.CallBackManager()
function Initsts()
    local ui = {
        btn = "ctrl.code.btn",
        input = "ctrl.code.input"
    }
   
    return ui
end

function M.GetInitUiList()
    return Initsts()
end

function M.Init(ShopPanel)
    shopPanel = ShopPanel
    CallBackManager:AddRbxConnect(shopPanel,shopPanel.insts.code.btn.Activated,function()
        shopPanel.CodeExchangeEvent:Action(shopPanel.insts.code.input.Text)
    end)
end


function M.Get()
    return M
end

return M 